<?php

/**
 * The definitions of urls, directories, meta tags, cookies and more.
 * 
 * @author Cesar Augustus Silva <cesaraugustussilva@linuxmail.org>
 * @copyright Copyright (c) 2013, Cesar Augustus Silva
 * @license http://www.gnu.org/licenses/gpl.html GNU GPL v3.0
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <­http://www.gnu.org/licenses/>.
 */

/* Image URLs */
define('_IMG_', __BASE_URI__.'img/');
define('_BNN_IMG_', _IMG_.'banner/');
define('_VHC_IMG_', _IMG_.'vehicle/');
define('_ETP_IMG_', _IMG_.'enterprise/');
define('_PDT_IMG_', _IMG_.'products/');

/* Other URLs */
define('_JS_URI_', __BASE_URI__.'js/');
define('_CSS_URI_', __BASE_URI__.'css/');
define('_ACT_URI_', __BASE_URI__.'actions/');
define('_AJX_URI_', __BASE_URI__.'ajax/');

/* Directories */
define('_ROOT_DIR_', realpath(dirname(__FILE__).'/..'));
define('_CLASS_DIR_', _ROOT_DIR_.'/classes/');
define('_CONTROLLER_DIR_', _ROOT_DIR_.'/controllers/');
define('_PAGE_DIR_', _ROOT_DIR_.'/pages/');
define('_WIDGET_DIR_', _PAGE_DIR_.'widgets/');
define('_CSS_DIR_', _ROOT_DIR_.'/css/');
define('_JS_DIR_', _ROOT_DIR_.'/js/');
define('_IMG_DIR_', _ROOT_DIR_.'/img/');
define('_VHC_DIR_', _IMG_DIR_.'vehicle/');
define('_PDT_DIR_', _IMG_DIR_.'products/');
define('_ETP_DIR_', _IMG_DIR_.'enterprise/');

/* settings php */
define('_TRANS_PATTERN_', '(.*[^\\\\])');
define('_MIN_TIME_GENERATE_PASSWD_', '360');
if (!defined('_MAGIC_QUOTES_GPC_'))
    define('_MAGIC_QUOTES_GPC_', get_magic_quotes_gpc());
if (!defined('_MYSQL_REAL_ESCAPE_STRING_'))
    define('_MYSQL_REAL_ESCAPE_STRING_', function_exists('mysql_real_escape_string'));

/* Meta Tags */
define('_META_AUTHOR_', 'Cesar Augustus Silva');
define('_META_REPLYTO_', 'cesaraugustussilva@linuxmail.org');
define('_META_EXPIRES_', 0);
define('_META_REVISITAFTER_', '1 days');
define('_META_VIEWPORT_', 'width=960,maximum-scale=1.0');
define('_META_ROBOTS_', 'nofollow,noarchive');
define('_META_GOOGLE_SITE_VERIFICATION_', 'pqh7ARpzNeK1eLR_klNmC19jgE95BTsiCdem9tcDGAc');

/* Cookies */
define('_COOKIE_LIFETIME_', '7776000');
define('_COOKIE_PATH_', '');
define('_COOKIE_DOMAIN_', '.goiautos.com.br');